package com.cee.service;

import com.cee.model.OneType;

import java.util.List;

public interface OneTypeService {

    /**
     * 列表
     * @return
     */
    List<OneType> getOneTypeList();

    /**
     * 逻辑删除 oneType
     * @param id
     */
    void deleteOneType(Integer id);


    /**
     * 添加 oneType
     * @param oneType
     */
    void saveOneType(OneType oneType);


    OneType getOneTypeByName(String oneTypeName);

}
